const NavBar = {
	state: {
		activePath: '',			// 激活的路径
	},

	mutations: {
		setActivePath(state, payload) {
			state.activePath = payload;
			window.sessionStorage.setItem("activePath", payload);
		},
	},

	getters: {
		getActivePath() {
			return window.sessionStorage.getItem("activePath");
		}
	},

	actions: {

	},
	namespaced: true
}

export default NavBar;